package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.SmsVerificationLogDao;
import io.wdb.modules.generator.generator.entity.SmsVerificationLogEntity;
import io.wdb.modules.generator.generator.service.SmsVerificationLogService;



@Service("smsVerificationLogService")
public class SmsVerificationLogServiceImpl implements SmsVerificationLogService {
	@Autowired
	private SmsVerificationLogDao smsVerificationLogDao;
	
	@Override
	public SmsVerificationLogEntity queryObject(Long id){
		return smsVerificationLogDao.queryObject(id);
	}
	
	@Override
	public List<SmsVerificationLogEntity> queryList(Map<String, Object> map){
		return smsVerificationLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return smsVerificationLogDao.queryTotal(map);
	}
	
	@Override
	public void save(SmsVerificationLogEntity smsVerificationLog){
		smsVerificationLogDao.save(smsVerificationLog);
	}
	
	@Override
	public void update(SmsVerificationLogEntity smsVerificationLog){
		smsVerificationLogDao.update(smsVerificationLog);
	}
	
	@Override
	public void delete(Long id){
		smsVerificationLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		smsVerificationLogDao.deleteBatch(ids);
	}
	
}
